$(function () {
    layui.use('form',function () {
        var form = layui.form;
        $.post('/pages/back/fleet/listFleet',{},function (obj) {
            for(var i=0;i<obj.length;i++){
                $("#fleetid").append("<option value="+ obj[i].fleetid +">" + obj[i].fleetid + "==" + obj[i].name + "</option>")
            }
            form.render();
        },'json')
    })
})